﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GxcToCsharpParser.GrcParser
{
   /// <summary>
   /// Implements EBUT, {&}label{~},ret_val,{cancel} 
   /// </summary>
   class ButtonWidget:IWidget
   {
    
      /// <summary>
      /// Gets or sets the title.
      /// </summary>
      /// <value>The title.</value>
      public string Label { get; set; }
      /// <summary>
      /// Gets or sets the return value.
      /// </summary>
      /// <value>The return value.</value>
      public int ReturnValue { get; set; }
      /// <summary>
      /// Gets or sets a value indicating whether this instance is cancel button.
      /// </summary>
      /// <value>
      /// 	<c>true</c> if this instance is cancel button; otherwise, <c>false</c>.
      /// </value>
       public bool IsCancelButton { get; set; }
       

   }
}
